package com.zyg.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


@Data
@TableName("class")
public class ClassEx {
    @TableId(value = "class_id",type = IdType.AUTO)
    private int classId;
    private String className;


    @TableField(exist = false)
    private GradeEx grade;

    private Integer gradeId;


}
